package cz.farin.mandelinka;

public class Square {
	
	private SquareType squareType; 
	private BugInfo bugInfo;
	
	void setType(SquareType squareType) {
		this.squareType = squareType;
	}

	void setBugInfo(BugInfo bugInfo) {
		this.bugInfo = bugInfo;
	}

	public SquareType getType() {
		return squareType;
	}

	public BugInfo getBugInfo() {
		return bugInfo;
	}
	
	public boolean canWalk() {
		return squareType.canWalk();
	}

}
